package com.baizhi.springmvc.entity;

import java.io.Serializable;
import java.util.HashMap;

public class Cart implements Serializable {
   private HashMap<Integer, Item> map = new HashMap<Integer, Item> ();
   private HashMap<Integer, Item> removeMap = new HashMap<Integer, Item>();
   private Double totalPrice;
   private Double savePrice;

    public HashMap<Integer, Item> getMap() {
        return map;
    }

    public void setMap(HashMap<Integer, Item> map) {
        this.map = map;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Double getSavePrice() {
        return savePrice;
    }

    public void setSavePrice(Double savePrice) {
        this.savePrice = savePrice;
    }

    public HashMap<Integer, Item> getRemoveMap() {
        return removeMap;
    }

    public void setRemoveMap(HashMap<Integer, Item> removeMap) {
        this.removeMap = removeMap;
    }
}
